package com.lixinlei.springboot_servlet.controller.requestmapping.headers;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping(path = "/request/mapping/headers")
public class HeaderController {

    @RequestMapping(path ="/path1", headers = "content-type=application/x-www-form-urlencoded")
    public String headers1() {
        System.out.println("*************************headers1()");
        return "headers1()";
    }

}
